package com.zyx.wanshu.vo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zyx.wanshu.entity.User;
import com.zyx.wanshu.util.PageUtils;

import java.util.List;

/**
 * @author zyx
 * @since 2022/7/17 15:56
 * desc: 用户类通用VO
 */
public class UserVO extends PageUtils<User> {

    private String url = "/wanshu/user/list";

    public UserVO(List<User> list, int totalCount, int pageSize, int currPage) {
        super(list, totalCount, pageSize, currPage);
    }

    public UserVO(IPage<User> page) {
        super(page);
    }

    public UserVO() {

    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }
}
